#app {
  height: 100%;

  .wrapper {
    &:extend(width-height);
  }

  .wrap_content {
    width: 100%;
    // height: calc(100vh - 54px );
    height: 100%;
    padding-top: 54px;
    min-width: 1280px;
  }

  .main {
    margin-left: 200px;
    height: calc(100vh - 54px);
  }
}

#app {
  .sideBar {
    width: @sideBarWidth;
    height: calc(100% - 50px);
    background-image: url(../assets/images/common/munebg.png);
    background-size: cover;
    position: fixed;
    top: 54px;
    left: 0;
    overflow: hidden;
    transition: width 0.3s;
    z-index: 999;

    .el-scrollbar {
      height: 100%;

      .el-scrollbar__wrap {
        overflow-x: hidden !important;
      }
    }

    .el-menu {
      &:extend(width-height);
      border: none;
    }
  }
}

.header {
  height: 54px;
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 999;
  background: #f7f7f7;
  color: #303133;
  // border-bottom: 1px solid #ddd;
}

.title-bar {
  height: 47px;
  line-height: 47px;
  padding: 0px 20px;
  color: #303133;
  border-bottom: 1px solid #ddd;

  .title-name {
    display: inline-block;
  }
}

.function-btn {
  display: inline-block;
  padding: 0px 10px;
  height: 30px;
  line-height: 30px;
  border-radius: 3px;
  cursor: pointer;
}

// collapse
#app {
  .closeBar {
    .sideBar {
      width: 64px !important;

      .el-menu--collapse>.sideItem .el-menu-item [class^='el-icon-'],
      .el-menu--collapse>.sideItem .el-submenu>.el-submenu__title [class^='el-icon-'] {
        margin: 0;
        vertical-align: middle;
        width: 24px;
        text-align: center;
      }

      .el-menu--collapse>.sideItem .el-menu-item span,
      .el-menu--collapse>.sideItem .el-submenu>.el-submenu__title span {
        height: 0;
        width: 0;
        overflow: hidden;
        visibility: hidden;
        display: inline-block;
      }

      .el-menu--collapse>.sideItem .el-menu-item .el-submenu__icon-arrow,
      .el-menu--collapse>.sideItem .el-submenu>.el-submenu__title .el-submenu__icon-arrow {
        display: none;
      }
    }

    .main {
      margin-left: 64px;
    }
  }


}